/***********************************************************************************/
/* Code license:  GNU General Public License v3                                    */
/* Main page:     https://code.google.com/p/library-cross-platform/                */
/* Issue tracker: https://code.google.com/p/library-cross-platform/issues/list     */
/***********************************************************************************/

#ifndef _PARSER_BASE_CLASS_10_JUN_2011_
#define _PARSER_BASE_CLASS_10_JUN_2011_

#include <iostream>
#include "string.h"

using namespace std;

class parser
{
public:
  parser();
  parser(std::istream*);
  virtual ~parser();
  
  void setStream(std::istream *);
  std::istream *getStream();
  
  virtual void start() = 0;

protected:
  std::istream *pstream;
};

#endif
